#ifndef ENGINE_H
#define ENGINE_H

#include "engine_api.h"
#include "pg1_input.h"
#include "pg1_directinput.h"
#include "pg1_timer.h"


namespace pg1{
	class Window;
	class Renderer;
	class Game;
	class Timer;
	class ENGINE_API Engine{
	public:
	Engine(HINSTANCE hInstance,unsigned int width, unsigned int heigth);
	~Engine();
	bool init();
	void run();
	Game* game;

private:

	HINSTANCE m_hInstance;
	unsigned int e_width; 
	unsigned int e_heigth;
	HINSTANCE e_hInstance;
	Window *window;
	Renderer *renderer;
	DirectInput* m_pkInput;
	Timer* m_pkTimer;
};
}
#endif